projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84ef722
)
Fix broken code block
author
ehuss
<eric@huss.org>
Fri, 27 Jan 2017 16:59:48 +0000
(08:59 -0800)
committer
GitHub
<noreply@github.com>
Fri, 27 Jan 2017 16:59:48 +0000
(08:59 -0800)
It seems like the Markdown parser requires a blank line before a code block (otherwise it treats it like an inline span).
src/doc/manifest.md
patch
|
blob
|
history
diff --git
a/src/doc/manifest.md
b/src/doc/manifest.md
index bf07ebe26b7b288e188be5a633b4e8b32ba7fc33..e5d266d845a397f435aaa3d41e27513b1d438d29 100644
(file)
--- a/
src/doc/manifest.md
+++ b/
src/doc/manifest.md
@@
-461,6
+461,7
@@
You can run individual executable examples with the command `cargo run --example
<example-name>`.
Specify `crate-type` to make an example be compiled as a library:
+
```toml
[[example]]
name = "foo"